package avicit.bdp.dms.das.dao;

import avicit.bdp.common.base.BaseDAO;
import avicit.bdp.dms.das.dto.BdpDasBusinessLinkDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @金航数码科技有限责任公司
 * @作者：developer
 * @邮箱：developer@avic-digital.com
 * @创建时间： 2020-06-24 14:54
 * @类说明：bdp_das_linkDao
 * @修改记录：
 */
public interface BdpDasBusinessLinkDao extends BaseDAO<BdpDasBusinessLinkDTO> {

    /**
     * 按模型ID删除 bdp_das_business_link
     *
     * @param businessId
     */
    void deleteLinkByBusinessId(@Param("businessId") String businessId);


    /**
     * 按ID集合查询
     * @param businessIds
     * @return
     */
    List<BdpDasBusinessLinkDTO> searchLinkByBusinessId(@Param("businessIds") List<String> businessIds);
}